<template>
    <div class="login-container">
        <div class="login-box">
            <div class="login-left">
                <img src="@/assets/image/side-logo.png">
            </div>
            <div class="login-form">
                <LoginForm />
            </div>
        </div>
    </div>
</template>
<script setup>
import LoginForm from './components/LoginForm.vue'
import { useRouter } from "vue-router";
import { userStore } from "@/stores/modules/user";

const router = useRouter();
const store = userStore();
if (store.userInfo.access_token) {
    router.push("/");
}
</script>
<style lang="scss">
@import "./index";
</style>
  